home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9009 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  3.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 62 6f | 6f 74 68 31 37 2e 65 63 |Path: bo|oth17.ec|
|00000010| 73 21 6d 39 35 6d 74 6b | 0a 46 72 6f 6d 3a 20 4d |s!m95mtk|.From: M|
|00000020| 61 74 74 68 65 77 20 4b | 69 72 6b 77 6f 6f 64 20 |atthew K|irkwood |
|00000030| 3c 6d 39 35 6d 74 6b 40 | 62 6f 6f 74 68 31 37 2e |<m95mtk@|booth17.|
|00000040| 65 63 73 3e 0a 4e 65 77 | 73 67 72 6f 75 70 73 3a |ecs>.New|sgroups:|
|00000050| 20 63 6f 6d 70 2e 6c 61 | 6e 67 2e 63 2b 2b 2c 63 | comp.la|ng.c++,c|
|00000060| 6f 6d 70 2e 6f 73 2e 6d | 73 64 6f 73 2e 70 72 6f |omp.os.m|sdos.pro|
|00000070| 67 72 61 6d 6d 65 72 0a | 53 75 62 6a 65 63 74 3a |grammer.|Subject:|
|00000080| 20 52 65 3a 20 54 69 6d | 65 72 20 28 30 78 31 43 | Re: Tim|er (0x1C|
|00000090| 29 20 49 6e 74 65 72 72 | 75 70 74 20 65 78 61 63 |) Interr|upt exac|
|000000a0| 74 6c 79 20 31 38 2e 32 | 20 73 65 63 6f 6e 64 73 |tly 18.2| seconds|
|000000b0| 3f 0a 44 61 74 65 3a 20 | 4d 6f 6e 2c 20 32 36 20 |?.Date: |Mon, 26 |
|000000c0| 46 65 62 20 31 39 39 36 | 20 30 32 3a 33 30 3a 34 |Feb 1996| 02:30:4|
|000000d0| 31 20 2b 30 30 30 30 0a | 4f 72 67 61 6e 69 7a 61 |1 +0000.|Organiza|
|000000e0| 74 69 6f 6e 3a 20 4f 78 | 66 6f 72 64 20 55 6e 69 |tion: Ox|ford Uni|
|000000f0| 76 65 72 73 69 74 79 0a | 4d 65 73 73 61 67 65 2d |versity.|Message-|
|00000100| 49 44 3a 20 3c 50 69 6e | 65 2e 53 55 4e 2e 33 2e |ID: <Pin|e.SUN.3.|
|00000110| 39 31 2e 39 36 30 32 32 | 36 30 32 30 34 31 39 2e |91.96022|6020419.|
|00000120| 32 31 37 42 2d 31 30 30 | 30 30 30 40 62 6f 6f 74 |217B-100|000@boot|
|00000130| 68 31 37 2e 65 63 73 3e | 0a 52 65 66 65 72 65 6e |h17.ecs>|.Referen|
|00000140| 63 65 73 3a 20 3c 34 67 | 69 76 72 76 24 63 69 6d |ces: <4g|ivrv$cim|
|00000150| 40 6d 69 64 6c 61 6e 64 | 2e 63 6f 2e 6e 7a 3e 20 |@midland|.co.nz> |
|00000160| 3c 34 67 6b 68 39 37 24 | 69 34 34 40 69 62 6d 33 |<4gkh97$|i44@ibm3|
|00000170| 32 2e 70 65 72 66 74 65 | 63 68 2e 63 6f 6d 3e 0a |2.perfte|ch.com>.|
|00000180| 4e 4e 54 50 2d 50 6f 73 | 74 69 6e 67 2d 48 6f 73 |NNTP-Pos|ting-Hos|
|00000190| 74 3a 20 62 6f 6f 74 68 | 31 37 2e 65 63 73 2e 6f |t: booth|17.ecs.o|
|000001a0| 78 2e 61 63 2e 75 6b 0a | 4d 69 6d 65 2d 56 65 72 |x.ac.uk.|Mime-Ver|
|000001b0| 73 69 6f 6e 3a 20 31 2e | 30 0a 43 6f 6e 74 65 6e |sion: 1.|0.Conten|
|000001c0| 74 2d 54 79 70 65 3a 20 | 54 45 58 54 2f 50 4c 41 |t-Type: |TEXT/PLA|
|000001d0| 49 4e 3b 20 63 68 61 72 | 73 65 74 3d 55 53 2d 41 |IN; char|set=US-A|
|000001e0| 53 43 49 49 0a 49 6e 2d | 52 65 70 6c 79 2d 54 6f |SCII.In-|Reply-To|
|000001f0| 3a 20 3c 34 67 6b 68 39 | 37 24 69 34 34 40 69 62 |: <4gkh9|7$i44@ib|
|00000200| 6d 33 32 2e 70 65 72 66 | 74 65 63 68 2e 63 6f 6d |m32.perf|tech.com|
|00000210| 3e 20 0a 0a 4f 6e 20 32 | 33 20 46 65 62 20 31 39 |> ..On 2|3 Feb 19|
|00000220| 39 36 2c 20 4a 6f 68 6e | 20 4d 75 72 70 68 79 20 |96, John| Murphy |
|00000230| 77 72 6f 74 65 3a 0a 0a | 3e 20 49 6e 20 61 72 74 |wrote:..|> In art|
|00000240| 69 63 6c 65 20 3c 34 67 | 69 76 72 76 24 63 69 6d |icle <4g|ivrv$cim|
|00000250| 40 6d 69 64 6c 61 6e 64 | 2e 63 6f 2e 6e 7a 3e 2c |@midland|.co.nz>,|
|00000260| 20 6c 6f 77 65 66 61 6d | 40 69 67 72 69 6e 2e 63 | lowefam|@igrin.c|
|00000270| 6f 2e 6e 7a 20 73 61 79 | 73 2e 2e 2e 0a 3e 20 3e |o.nz say|s....> >|
|00000280| 0a 3e 20 3e 48 69 0a 3e | 20 3e 0a 3e 20 3e 49 20 |.> >Hi.>| >.> >I |
|00000290| 68 61 76 65 20 61 20 43 | 2b 2b 20 50 72 6f 67 72 |have a C|++ Progr|
|000002a0| 61 6d 20 28 6f 6e 20 44 | 4f 53 29 20 69 6e 20 77 |am (on D|OS) in w|
|000002b0| 68 69 63 68 20 61 20 66 | 75 6e 63 74 69 6f 6e 20 |hich a f|unction |
|000002c0| 69 73 20 61 74 74 61 63 | 68 65 64 20 74 6f 20 74 |is attac|hed to t|
|000002d0| 68 65 0a 3e 20 3e 54 69 | 6d 65 72 20 28 30 78 31 |he.> >Ti|mer (0x1|
|000002e0| 43 29 20 49 6e 74 65 72 | 72 75 70 74 2e 0a 3e 20 |C) Inter|rupt..> |
|000002f0| 3e 0a 3e 20 3e 54 68 65 | 20 66 75 6e 63 74 69 6f |>.> >The| functio|
|00000300| 6e 20 68 61 73 20 61 20 | 73 74 61 74 69 63 20 69 |n has a |static i|
|00000310| 6e 74 20 74 6f 20 63 6f | 75 6e 74 20 74 68 65 20 |nt to co|unt the |
|00000320| 6e 75 6d 62 65 72 20 6f | 66 20 74 69 6d 65 73 20 |number o|f times |
|00000330| 69 74 20 68 61 73 20 62 | 65 65 6e 0a 3e 20 3e 63 |it has b|een.> >c|
|00000340| 61 6c 6c 65 64 2e 20 45 | 76 65 72 79 20 27 78 27 |alled. E|very 'x'|
|00000350| 20 63 61 6c 6c 73 2c 20 | 49 74 20 65 78 65 63 75 | calls, |It execu|
|00000360| 74 65 73 20 61 6e 6f 74 | 68 65 72 20 66 75 6e 63 |tes anot|her func|
|00000370| 74 69 6f 6e 2e 0a 3e 20 | 3e 0a 3e 20 3e 27 78 27 |tion..> |>.> >'x'|
|00000380| 20 69 73 20 35 34 36 2c | 20 77 68 69 63 68 20 6f | is 546,| which o|
|00000390| 6e 65 20 77 6f 75 6c 64 | 20 65 78 70 65 63 74 20 |ne would| expect |
|000003a0| 74 6f 20 72 65 73 75 6c | 74 20 69 6e 20 74 68 65 |to resul|t in the|
|000003b0| 20 66 75 6e 63 74 69 6f | 6e 20 62 65 69 6e 67 0a | functio|n being.|
|000003c0| 3e 20 3e 63 61 6c 6c 65 | 64 20 65 76 65 72 79 20 |> >calle|d every |
|000003d0| 33 30 20 73 65 63 6f 6e | 64 73 2e 20 48 6f 77 65 |30 secon|ds. Howe|
|000003e0| 76 65 72 2c 20 69 74 20 | 69 73 20 63 61 6c 6c 65 |ver, it |is calle|
|000003f0| 64 20 65 76 65 72 79 20 | 32 39 20 70 6f 69 6e 74 |d every |29 point|
|00000400| 0a 3e 20 3e 73 6f 6d 65 | 74 68 69 6e 67 20 73 65 |.> >some|thing se|
|00000410| 63 6f 6e 64 73 2e 20 4f | 76 65 72 20 35 20 6d 69 |conds. O|ver 5 mi|
|00000420| 6e 75 74 65 73 20 79 6f | 75 20 63 61 6e 20 73 65 |nutes yo|u can se|
|00000430| 65 20 69 74 20 68 61 73 | 20 64 72 69 66 74 65 64 |e it has| drifted|
|00000440| 2e 20 49 66 20 49 20 68 | 61 64 0a 3e 20 3e 6f 6e |. If I h|ad.> >on|
|00000450| 65 20 74 6f 20 27 78 27 | 20 28 6e 6f 77 20 35 34 |e to 'x'| (now 54|
|00000460| 37 29 20 69 74 20 69 73 | 20 63 61 6c 6c 65 64 20 |7) it is| called |
|00000470| 65 76 65 72 79 20 33 30 | 20 70 6f 69 6e 74 20 73 |every 30| point s|
|00000480| 6f 6d 65 74 68 69 6e 67 | 20 73 65 63 6f 6e 64 73 |omething| seconds|
|00000490| 20 2d 0a 3e 20 3e 74 68 | 65 20 73 61 6d 65 20 70 | -.> >th|e same p|
|000004a0| 72 6f 62 6c 65 6d 20 69 | 6e 20 72 65 76 65 72 73 |roblem i|n revers|
|000004b0| 65 2e 0a 3e 20 3e 0a 3e | 20 3e 54 68 69 73 20 70 |e..> >.>| >This p|
|000004c0| 72 6f 67 72 61 6d 20 69 | 73 20 65 78 70 65 63 74 |rogram i|s expect|
|000004d0| 65 64 20 74 6f 20 72 75 | 6e 2c 20 63 6f 6e 74 69 |ed to ru|n, conti|
|000004e0| 6e 75 61 6c 6c 79 2c 20 | 66 6f 72 20 59 45 41 52 |nually, |for YEAR|
|000004f0| 53 20 2d 20 73 6f 20 61 | 20 64 72 69 66 74 0a 3e |S - so a| drift.>|
|00000500| 20 3e 74 68 61 74 20 73 | 68 6f 77 73 20 75 70 20 | >that s|hows up |
|00000510| 69 6e 20 35 20 6d 69 6e | 75 74 65 73 20 77 69 6c |in 5 min|utes wil|
|00000520| 6c 20 6d 61 6b 65 20 69 | 74 20 75 6e 75 73 61 62 |l make i|t unusab|
|00000530| 6c 65 2e 0a 3e 20 3e 0a | 3e 20 3e 44 6f 65 73 20 |le..> >.|> >Does |
|00000540| 61 6e 79 62 6f 64 79 20 | 68 61 76 65 20 61 6e 79 |anybody |have any|
|00000550| 20 69 64 65 61 73 20 57 | 48 59 20 74 68 69 73 20 | ideas W|HY this |
|00000560| 69 73 20 68 61 70 70 65 | 6e 69 6e 67 3f 0a 3e 20 |is happe|ning?.> |
|00000570| 3e 0a 3e 20 54 68 65 20 | 74 69 6d 65 72 20 74 69 |>.> The |timer ti|
|00000580| 63 6b 2c 20 61 73 20 79 | 6f 75 20 68 61 76 65 20 |ck, as y|ou have |
|00000590| 64 69 73 63 6f 76 65 72 | 65 64 2c 20 64 6f 65 73 |discover|ed, does|
|000005a0| 20 4e 4f 54 20 6f 63 63 | 75 72 20 65 78 61 63 74 | NOT occ|ur exact|
|000005b0| 6c 79 20 31 38 2e 32 20 | 74 69 63 6b 73 20 0a 3e |ly 18.2 |ticks .>|
|000005c0| 20 70 65 72 20 73 65 63 | 6f 6e 64 2e 20 20 49 74 | per sec|ond. It|
|000005d0| 20 69 73 20 64 65 72 69 | 76 65 64 20 66 72 6f 6d | is deri|ved from|
|000005e0| 20 61 20 31 2e 31 39 33 | 31 38 20 4d 48 7a 20 6f | a 1.193|18 MHz o|
|000005f0| 73 63 69 6c 6c 61 74 6f | 72 20 64 69 76 69 64 65 |scillato|r divide|
|00000600| 64 20 62 79 20 36 34 4b | 2c 20 73 6f 20 0a 3e 20 |d by 64K|, so .> |
|00000610| 69 74 27 73 20 63 6c 6f | 73 65 72 20 74 6f 20 31 |it's clo|ser to 1|
|00000620| 38 2e 32 30 36 35 20 74 | 69 6d 65 73 20 70 65 72 |8.2065 t|imes per|
|00000630| 20 73 65 63 6f 6e 64 2e | 0a 3e 20 0a 3e 20 54 72 | second.|.> .> Tr|
|00000640| 79 20 73 6f 6d 65 74 68 | 69 6e 67 20 6c 69 6b 65 |y someth|ing like|
|00000650| 20 74 68 69 73 20 69 6e | 20 79 6f 75 72 20 74 69 | this in| your ti|
|00000660| 63 6b 20 69 6e 74 65 72 | 72 75 70 74 20 63 6f 64 |ck inter|rupt cod|
|00000670| 65 3a 0a 3e 20 0a 3e 20 | 7b 0a 3e 20 73 74 61 74 |e:.> .> |{.> stat|
|00000680| 69 63 20 6c 6f 6e 67 20 | 61 63 63 75 6d 75 6c 61 |ic long |accumula|
|00000690| 74 6f 72 20 3d 20 30 3b | 0a 3e 20 0a 3e 20 0a 3e |tor = 0;|.> .> .>|
|000006a0| 20 09 61 63 63 75 6d 75 | 6c 61 74 6f 72 20 2b 3d | .accumu|lator +=|
|000006b0| 20 30 78 31 30 30 30 30 | 3b 09 2f 2a 20 4e 75 6d | 0x10000|;./* Num|
|000006c0| 62 65 72 20 6f 66 20 6f | 73 63 69 6c 6c 61 74 6f |ber of o|scillato|
|000006d0| 72 20 63 79 63 6c 65 73 | 20 70 65 72 20 74 69 63 |r cycles| per tic|
|000006e0| 6b 20 2a 2f 0a 3e 20 09 | 69 66 20 28 20 61 63 63 |k */.> .|if ( acc|
|000006f0| 75 6d 75 6c 61 74 6f 72 | 20 3e 3d 20 31 31 39 33 |umulator| >= 1193|
|00000700| 31 38 30 20 2a 20 33 30 | 20 29 20 7b 0a 3e 20 09 |180 * 30| ) {.> .|
|00000710| 09 61 63 63 75 6d 75 6c | 61 74 6f 72 20 2d 3d 20 |.accumul|ator -= |
|00000720| 31 31 39 33 31 38 30 20 | 2a 20 33 30 3b 0a 3e 20 |1193180 |* 30;.> |
|00000730| 09 09 2f 2a 20 63 61 6c | 6c 20 79 6f 75 72 20 22 |../* cal|l your "|
|00000740| 6f 6e 63 65 20 65 76 65 | 72 79 20 33 30 20 73 65 |once eve|ry 30 se|
|00000750| 63 6f 6e 64 73 22 20 66 | 75 6e 63 74 69 6f 6e 20 |conds" f|unction |
|00000760| 2a 2f 0a 3e 20 09 09 7d | 0a 3e 20 09 7d 0a 3e 20 |*/.> ..}|.> .}.> |
|00000770| 0a 3e 20 54 68 65 6e 20 | 79 6f 75 27 6c 6c 20 67 |.> Then |you'll g|
|00000780| 65 74 20 61 20 74 69 6d | 65 6f 75 74 20 69 6e 20 |et a tim|eout in |
|00000790| 61 20 6c 69 74 74 6c 65 | 20 6c 65 73 73 20 74 68 |a little| less th|
|000007a0| 61 6e 20 33 30 20 73 65 | 63 6f 6e 64 73 20 73 6f |an 30 se|conds so|
|000007b0| 6d 65 74 69 6d 65 73 20 | 61 6e 64 20 61 20 0a 3e |metimes |and a .>|
|000007c0| 20 6c 69 74 74 6c 65 20 | 6d 6f 72 65 20 74 68 61 | little |more tha|
|000007d0| 6e 20 33 30 20 73 65 63 | 6f 6e 64 73 20 6f 74 68 |n 30 sec|onds oth|
|000007e0| 65 72 20 74 69 6d 65 73 | 2c 20 62 75 74 20 74 68 |er times|, but th|
|000007f0| 65 20 6c 6f 6e 67 20 74 | 65 72 6d 20 61 76 65 72 |e long t|erm aver|
|00000800| 61 67 65 20 77 69 6c 6c | 20 62 65 20 0a 3e 20 70 |age will| be .> p|
|00000810| 72 65 74 74 79 20 67 6f | 6f 64 2e 0a 3e 0a 3e 20 |retty go|od..>.> |
|00000820| 4d 75 72 66 0a 3e 0a 0a | 54 68 65 20 61 6c 74 65 |Murf.>..|The alte|
|00000830| 72 6e 61 74 69 76 65 20 | 69 73 20 74 6f 20 6a 75 |rnative |is to ju|
|00000840| 73 74 20 63 68 65 63 6b | 20 74 68 65 20 52 54 43 |st check| the RTC|
|00000850| 2e 20 20 49 20 74 68 69 | 6e 6b 20 74 68 61 74 20 |. I thi|nk that |
|00000860| 74 68 65 72 65 20 61 72 | 65 0a 76 61 72 69 61 62 |there ar|e.variab|
|00000870| 6c 65 73 20 69 6e 20 74 | 68 65 20 42 49 4f 53 20 |les in t|he BIOS |
|00000880| 64 61 74 61 20 61 72 65 | 61 20 77 68 69 63 68 20 |data are|a which |
|00000890| 74 65 6c 6c 20 79 6f 75 | 20 74 68 65 20 73 79 73 |tell you| the sys|
|000008a0| 74 65 6d 20 74 69 6d 65 | 20 61 6e 64 20 64 61 74 |tem time| and dat|
|000008b0| 65 2e 20 0a 41 6c 6c 20 | 79 6f 75 20 6e 65 65 64 |e. .All |you need|
|000008c0| 20 64 6f 20 69 73 20 63 | 68 65 63 6b 20 74 68 65 | do is c|heck the|
|000008d0| 6d 20 65 76 65 72 79 20 | 31 38 2e 32 2e 2e 20 73 |m every |18.2.. s|
|000008e0| 65 63 6f 6e 64 73 20 61 | 6e 64 20 69 66 20 74 68 |econds a|nd if th|
|000008f0| 65 79 27 72 65 20 33 30 | 20 6f 72 0a 6d 6f 72 65 |ey're 30| or.more|
|00000900| 20 73 65 63 6f 6e 64 73 | 20 6f 76 65 72 20 77 68 | seconds| over wh|
|00000910| 61 74 20 79 6f 75 20 68 | 61 64 20 73 74 6f 72 65 |at you h|ad store|
|00000920| 64 2c 20 74 68 65 6e 20 | 75 70 64 61 74 65 20 79 |d, then |update y|
|00000930| 6f 75 72 20 73 74 61 74 | 69 63 20 76 61 72 69 61 |our stat|ic varia|
|00000940| 62 6c 65 0a 28 61 64 64 | 20 33 30 20 73 65 63 6f |ble.(add| 30 seco|
|00000950| 6e 64 73 2c 20 64 6f 6e | 27 74 20 75 70 64 61 74 |nds, don|'t updat|
|00000960| 65 20 74 6f 20 72 65 61 | 6c 20 74 69 6d 65 29 20 |e to rea|l time) |
|00000970| 61 6e 64 20 63 61 6c 6c | 20 79 6f 75 72 20 66 75 |and call| your fu|
|00000980| 6e 63 74 69 6f 6e 2e 20 | 20 49 66 0a 79 6f 75 27 |nction. | If.you'|
|00000990| 72 65 20 77 72 69 74 69 | 6e 67 20 73 6f 6d 65 74 |re writi|ng somet|
|000009a0| 68 69 6e 67 20 6d 6f 72 | 65 20 63 6f 6d 70 6c 69 |hing mor|e compli|
|000009b0| 63 61 74 65 64 20 28 77 | 68 69 63 68 20 49 20 70 |cated (w|hich I p|
|000009c0| 72 65 73 75 6d 65 20 79 | 6f 75 27 72 65 20 6e 6f |resume y|ou're no|
|000009d0| 74 20 2d 0a 73 69 6e 63 | 65 20 79 6f 75 20 75 73 |t -.sinc|e you us|
|000009e0| 65 20 69 6e 74 20 30 78 | 32 63 29 2c 20 74 68 65 |e int 0x|2c), the|
|000009f0| 6e 20 79 6f 75 20 6d 61 | 79 20 77 61 6e 74 20 74 |n you ma|y want t|
|00000a00| 6f 20 75 73 65 20 74 68 | 65 20 43 4d 4f 53 20 64 |o use th|e CMOS d|
|00000a10| 61 74 65 2f 74 69 6d 65 | 0a 66 75 6e 63 74 69 6f |ate/time|.functio|
|00000a20| 6e 73 2c 20 62 75 74 20 | 74 68 65 6e 20 79 6f 75 |ns, but |then you|
|00000a30| 20 72 75 6e 20 69 6e 74 | 6f 20 61 20 68 65 61 70 | run int|o a heap|
|00000a40| 20 6f 66 20 70 72 6f 62 | 6c 65 6d 73 20 77 69 74 | of prob|lems wit|
|00000a50| 68 20 70 6f 72 74 20 30 | 78 37 30 2c 20 61 6e 64 |h port 0|x70, and|
|00000a60| 0a 74 68 65 20 4e 4d 49 | 2e 20 20 44 6f 6e 27 74 |.the NMI|. Don't|
|00000a70| 20 75 73 65 20 5f 64 6f | 73 5f 67 65 74 74 69 6d | use _do|s_gettim|
|00000a80| 65 28 29 2c 20 62 65 63 | 61 75 73 65 20 79 6f 75 |e(), bec|ause you|
|00000a90| 27 6c 6c 20 68 61 76 65 | 20 2a 62 69 67 2a 20 70 |'ll have| *big* p|
|00000aa0| 72 6f 62 6c 65 6d 73 0a | 77 69 74 68 20 72 65 2d |roblems.|with re-|
|00000ab0| 65 6e 74 72 61 6e 63 79 | 20 61 6e 64 20 73 74 75 |entrancy| and stu|
|00000ac0| 66 66 2e 0a 0a 49 66 20 | 79 6f 75 20 6e 65 65 64 |ff...If |you need|
|00000ad0| 20 63 6f 64 65 20 77 72 | 69 74 74 65 6e 2c 20 49 | code wr|itten, I|
|00000ae0| 27 64 20 62 65 20 68 61 | 70 70 79 20 74 6f 20 68 |'d be ha|ppy to h|
|00000af0| 61 76 65 20 61 20 67 6f | 2c 20 6f 74 68 65 72 77 |ave a go|, otherw|
|00000b00| 69 73 65 20 49 27 64 20 | 62 65 0a 69 6e 74 65 72 |ise I'd |be.inter|
|00000b10| 65 73 74 65 64 20 74 6f | 20 73 65 65 20 61 6e 79 |ested to| see any|
|00000b20| 20 63 6f 64 65 20 74 68 | 61 74 20 79 6f 75 20 67 | code th|at you g|
|00000b30| 65 74 20 77 6f 72 6b 69 | 6e 67 20 74 6f 20 73 6f |et worki|ng to so|
|00000b40| 6c 76 65 20 74 68 69 73 | 20 70 72 6f 62 6c 65 6d |lve this| problem|
|00000b50| 2e 0a 0a 4f 6e 65 20 74 | 68 69 6e 67 3a 20 54 68 |...One t|hing: Th|
|00000b60| 69 73 20 6d 65 74 68 6f | 64 20 77 69 6c 6c 20 68 |is metho|d will h|
|00000b70| 61 76 65 20 6e 6f 20 64 | 72 69 66 74 20 28 61 73 |ave no d|rift (as|
|00000b80| 73 75 6d 69 6e 67 20 74 | 68 61 74 20 74 68 65 20 |suming t|hat the |
|00000b90| 52 54 43 20 68 61 73 0a | 6e 6f 6e 65 29 2c 20 62 |RTC has.|none), b|
|00000ba0| 75 74 20 69 74 20 6d 61 | 79 20 6e 6f 74 20 63 61 |ut it ma|y not ca|
|00000bb0| 6c 6c 20 65 78 61 63 74 | 6c 79 20 6f 6e 20 74 68 |ll exact|ly on th|
|00000bc0| 65 20 33 30 20 73 65 63 | 6f 6e 64 20 62 6f 75 6e |e 30 sec|ond boun|
|00000bd0| 64 61 72 79 2e 20 20 46 | 6f 72 20 74 68 61 74 0a |dary. F|or that.|
|00000be0| 79 6f 75 27 64 20 77 61 | 6e 74 20 74 6f 20 69 6e |you'd wa|nt to in|
|00000bf0| 63 72 65 61 73 65 20 74 | 68 65 20 74 69 6d 65 72 |crease t|he timer|
|00000c00| 20 74 69 63 6b 20 72 61 | 74 65 2e 0a 0a 48 6f 70 | tick ra|te...Hop|
|00000c10| 65 20 74 68 69 73 20 69 | 73 20 6f 66 20 68 65 6c |e this i|s of hel|
|00000c20| 70 2e 0a | |p.. | |
+--------+-------------------------+-------------------------+--------+--------+